package com.gyc.simple.sysuser.service;

import com.github.pagehelper.PageInfo;
import com.gyc.simple.sysuser.entity.base.IUser;

import java.util.List;
import java.util.Map;

/**
 * @program: Inaction
 * @description: 系统用户服务
 * @author: Mr.gyc
 * @create: 2019-09-01 17:33
 */
public interface SysUserService {

    IUser getUserByLoginName(String lName);

    IUser selectByName(String lName);

    List<String> batchAddUser(List<IUser> iUsers);

    PageInfo queryUserListByPageAndCondition(Map paraMap);

    int updateByPrimaryKeySelective(IUser iUser);

    int insertSelective(IUser iUser);

    Boolean ifPresentLname(String iuLname);

    Boolean deleteById(String iuId);

    int deleteAllByIds(String[] ids);
}
